Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 26, 2025

Bumps ophyd-async[ca] from 0.10.1 to 0.11.

Release notes

Sourced from ophyd-async[ca]'s releases.

v0.11

Notable changes

Child signals named on attach to device

Previously the naming of child signals was inconsistent between those named by passing name in __init__, and those named after the fact using set_name via init_devices or something similar. Now child devices are now named when they are attached to a parent, which means that the super order in __init__ doesn't matter from the perspective of naming. For example:

class Base(Device):
    def __init__(self, name: str = ""):
        self.sig1 = soft_signal_rw(float)
        super().__init__(name=name)
class Derived1(Base):
def init(self, name: str = ""):
self.sig2 = soft_signal_rw(float)
super().init(name=name)
class Derived2(Base):
def init(self, name: str = ""):
super().init(name=name)
self.sig2 = soft_signal_rw(float)

Previously: -If device = Derived1(name="mydevice") then device.sig2.name == "mydevice-sig2" -If device = Derived2(name="mydevice") then device.sig2.name == ""

Now:

  • device.sig2.name == "mydevice-sig2" in both cases

The canonical way to rename a signal to something different to {parent.name}-{signal_name} is to override set_name, e.g. in motor:

    def set_name(self, name: str, *, child_name_separator: str | None = None) -> None:
        """Set name of the motor and its children."""
        super().set_name(name, child_name_separator=child_name_separator)
        # Readback should be named the same as its parent in read()
        self.user_readback.set_name(name)

Shared FlyMotorInfo for SimMotor and EpicsMotor

# old
from ophyd_async.sim import FlySimMotorInfo
info = FlySimMotorInfo(cv_start=0, cv_end=1, cv_time=0.2)
# new
from ophyd_async.core import FlyMotorInfo
info = FlyMotorInfo(start_position=0, end_position=1, time_for_move=0.2)

or

# old
from ophyd_async.epics import motor
info = motor.FlyMotorInfo(start_position=0, end_position=1, time_for_move=0.2)
</tr></table> 

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [ophyd-async[ca]](https://github.com/bluesky/ophyd-async) from 0.10.1 to 0.11.
- [Release notes](https://github.com/bluesky/ophyd-async/releases)
- [Commits](bluesky/ophyd-async@v0.10.1...v0.11)

---
updated-dependencies:
- dependency-name: ophyd-async[ca]
  dependency-version: '0.11'
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Jun 26, 2025
@Tom-Willemsen Tom-Willemsen merged commit 1679253 into main Jun 26, 2025
13 checks passed
@Tom-Willemsen Tom-Willemsen deleted the dependabot/pip/ophyd-async-ca--0.11 branch June 26, 2025 14:26
@Tom-Willemsen Tom-Willemsen added the bluesky-ignore-for-release Non user-facing changes (e.g. CI setup) label Jul 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bluesky-ignore-for-release Non user-facing changes (e.g. CI setup) dependencies Pull requests that update a dependency file python Pull requests that update python code size/XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants